.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

body {
    line-height: 1.5;
}

.form a {
    color: #00a1d6;
}

.form {
    width: 980px;
    margin: 130px auto;
}

.form h2 {
    text-align: center;
    font-size: 38px;
    border-bottom: 1px solid #ddd;
    height: 30px;
    margin-bottom: 60px;
}

.form h2 span {
    background: #fff;
    padding: 0 20px;
}

/* 表单区域 */

.form-area {
    width: 423px;
    margin: 0 auto;
}

.form-area .form-item {
    /* margin: 50px 0; */
    height: 40px;
    position: relative;
}

.form-area .select .select-item,
.form-area .select .input {
    float: left;
    height: 40px;
}

.form-area .select .select-item {
    width: 140px;
    border: 1px solid #dcdfe6;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
    border-right: none;
    position: relative;
}

.form-area .select .select-item ul {
    /* 最大高度256像素 */
    display: none;
    max-height: 256px;
    background: #fff;
    color: #606266;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 10px 0;
    font-size: 14px;
    overflow-y: auto;
}

.form-area .select .select-item ul li {
    height: 34px;
    padding: 0 20px;
    cursor: pointer;
    line-height: 34px;
}

.form-area .select .select-item ul li.active {
    color: #00a1d6;
    font-weight: bold;
}

.form-area .select .select-item ul li:hover {
    background: #f5f7fa;
}

.form-area .select .input input {
    border-radius: 0 4px 4px 0;
}

.form-area #phoneNum {
    width: 283px;
    position: absolute;
    right: 0;
    top: 0;
}

.form-area .select .select-item .title {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    color: #909399;
    cursor: pointer;
    text-align: center;
}

.form-area #verify{
    width: 230px;
}

.form-area .form-item img{
    width: 180px;
    height: 40px;
    margin-left: 12px;
    position: absolute;
    top: 0px;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

.form-area .form-item .btn-sncode {
    width: 130px;
    height: 36px;
    position: absolute;
    right: 2px;
    top: 2px;
}

.form-area .form-item .error {
    position: absolute;
    width: 240px;
    right: -250px;
    top: 10px;
    color: #f45d90;
    font-size: 12px;
    display: none;
}

.form-area .form-item.haserror .error {
    display: block;
}

.form-area .form-item.haserror input {
    border-color: #f45d90;
}

.form-area .readme {
    font-size: 12px;
    height: 40px;
    line-height: 40px;
}

.form-area .readme .checkbox {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    top: 2px;
}

.form-area .readme input {
    display: none;
}

.form-area .readme input:checked+.checkbox {
    background-color: #409EFF;
    border-color: #409EFF;
    display: inline-block;
    position: relative;
    border: 1px solid #DCDFE6;
    border-radius: 2px;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    z-index: 1;
    top: 2px;
    transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
}

.form-area .readme input:checked+.checkbox::after {
    box-sizing: content-box;
    content: "";
    border: 1px solid #FFF;
    border-left: 0;
    border-top: 0;
    height: 7px;
    left: 4px;
    position: absolute;
    top: 1px;
    width: 3px;
    transition: transform 0.15s ease-in 0.1s;
    transform-origin: center;
    transform: rotate(45deg) scaleY(1);
}

/* 统一的文本框样式 */

input[type="text"],
input[type="password"] {
    border: 1px solid #dcdfe6;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
    height: 40px;
    text-indent: 1em;
    font-size: 14px;
    color: #606266;
    font-family: "PingFangSC-Medium";
    background-color: transparent;
}

input[type="text"]:hover,
input[type="password"]:hover {
    border-color: #c0c4cc;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #ccc;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #00a1d6;
}

/* 统一设置按钮样式 */
button {
    height: 40px;
    background: #00a1d6;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #33b4de;
}

button.fill {
    width: 100%;
    box-sizing: border-box;
    border: none;
}

.txtright {
    text-align: right;
}

button:disabled {
    background: #f5f5f5;
    color: rgba(0,0,0,.25);
    border: 1px solid #d9d9d9;
    box-sizing:border-box;
    cursor: not-allowed;
}

.form-area .register-hidden-gruop {
    width: 420px;
    height: 40px;
    margin: 0 auto;
    position: relative;
}

.safe_window {
    width: 415px;
    border-radius: 3px;
    line-height: 20px;
    padding: 10px 0;
    margin: 0 auto;
    display: none;
    font-weight: 700;
    overflow: hidden;
    font-size: 15px;
}

.safe_window p {
    float: left;
}

.safe_window .a_pw {
    color: #49c519;
}

.safe_window .safe_line {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    margin-left: 15px;
    margin-top: 7px;
    margin-right: 10px;
    float: left;
}

.safe_window .low {
    background: red;
}

.safe_window .middle {
    background: #ff7f00;
}

.safe_window .safe {
    background: #49c519;
}

.safe_window span {
    font-size: 12px;
    margin-left: 5px;
    position: absolute;
    right: 50px;
}